package study;

import java.util.HashMap;
import java.util.Map;

public class lambda {
    public static void main(String[] args){
        lambda la = new lambda();
        la.lam("hello").forEach((k,v)->
                System.out.println("key is :"+k+",value is :"+v));
    }

    public Map<String, String> lam(String m){
        Map<String, String> map = new HashMap<>();
        map.put("1",m);
        map.put("2","b");
        map.put("3","c");
        map.put("4","d");
        return map;
    }
}
